package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	var  myChars [26]byte
	for i := 0; i<26; i++{
		myChars[i] = 'A' + byte(i)
	}
	for i := 0; i<26; i++{
		fmt.Printf("%c ", myChars[i])
	}
	fmt.Println()

	var intArray [5]int = [5]int{1,-1,9,90,11}
	max := 0
	for i := 1; i<5; i++{
		if intArray[i] > intArray[max]{
			max = i
		}
	}
	fmt.Println("maxindex : ", max)



	var intArray2 [5]int
	rand.Seed(time.Now().UnixNano())
	for  i := 0; i < 5; i++{
		intArray2[i] = rand.Intn(100)
	}
	fmt.Println(intArray2)

	for  i := 0; i<5/2; i++{
		temp := intArray2[i]
		intArray2[i] = intArray2[4 - i]
		intArray2[4-i] = temp
	}
    fmt.Println(intArray2)
}